import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import router from './router';
import axios from 'axios';//axios请求后端

Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.prototype.$axios = axios;//axios请求后端


// axios请求的URL
axios.defaults.baseURL = "http://localhost:8080/ssb-1";//ssb-1跟后端application.yml里设置的项目名称对应

new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
